import { ArbitratorSchema } from '@src/components/schema/arbitrator'
import { CaseSchema } from '@src/components/schema/caseSchema'
import { PDFSignSchema } from '@src/components/schema/pdf'
import React from 'react'
import { ParticipantSchema } from '@components/schema/videoCourt';
const initState: {
  caseDetail: CaseSchema | null,
  arbitrators: ArbitratorSchema[],
  otherPersons: ParticipantSchema[],
  signList: PDFSignSchema[],
  signLoading: boolean,
  setSignList: (v: PDFSignSchema[]) => void,
  initSignList: () => void,
  updateSign: (v: { [k: string]: any }) => void
} = {
  caseDetail: null,
  arbitrators: [],
  otherPersons: [],
  signList: [],
  signLoading: false,
  setSignList: () => {},
  initSignList: () => {},
  updateSign: () => {}
}
export const SignContext = React.createContext(initState)
